class AlarmModel {

  int? gatewayAlarm;
  int? sensorAlarm;
  int? smsAlarm;

  AlarmModel({this.gatewayAlarm,this.sensorAlarm,this.smsAlarm});

  AlarmModel.fromJson(Map<String, dynamic> json) {
    gatewayAlarm = json['gatewayAlarm'];
    sensorAlarm = json['sensorAlarm'];
    smsAlarm = json['smsAlarm'];
  }
}